/*************************************
 * Created by WebStorm
 * Author : 菲尔敦
 * QQ邮箱：2891044172@qq.com  手机号：15981761402
 * Created Time :2024/2/5 18:27
 Desc :固定路由
 **************************************/
const Layout = () => import('@/layout/index.vue');
export default [
    {
        path: "/login",
        name: "login",
        component: () => import('@/view/login'),
        meta: {
            title: "登录",
            hideInMenu: true,
        },
    },
    {
        path: "/admin_settings",
        name: "admin_settings",
        meta: {
            hideInMenu: true,
        },
        component: Layout,
        children: [
            {
                path: "/admin_setting",
                name: "admin_setting",
                meta: {
                    title: "个人设置",
                    hideInMenu: true,
                },
                component: () => import("@/view/singlePage/adminSetting.vue"),
            },
            {
                path: "/feedback",
                name: "feedback",
                meta: {
                    title: "反馈意见",
                    hideInMenu: true,
                },
                component: () => import("@/view/singlePage/message.vue"),
            }
        ]
    },
    {
        path: "/",
        name: "Dashboard",
        redirect: "home",
        component: Layout,
        meta: {
            title:'',
            icon: "DashboardOutlined",
        },
        children: [
            {
                path: "/home",
                name: "home",
                meta: {
                    title: "首页",
                    icon:"HomeOutlined"
                },
                component: () => import("@/view/singlePage/home.vue"),
            },
            // {
            //     path: "/monitoring-station",
            //     name: "monitoring_station",
            //     meta: {
            //         title: "监控台",
            //         icon:"CloudMonitoring"
            //     },
            //     component: () => import("@/view/singlePage/monitoringStation.vue"),
            // },
            // {
            //     path: "/document",
            //     name: "document",
            //     meta: {
            //         title: "文档",
            //     },
            //     component: () => import("@/view/singlePage/document.vue"),
            // },
        ],
    },
]